<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" href="../common.css">
	</head>
	<style>
		body {
			/* background: #062538; */
		}

		.box {
			width: 450px;
			background-color: #fff;
			box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(255, 0, 0, 0.06) ;
			margin-bottom: 10px;
			border-radius: 4px;
			overflow: hidden;
		}

		.box-img {
			position: relative;
			height: 200px;
			width: 100%;
			overflow: hidden;
			text-align: center;
		}

		.box-img img {
			object-fit: cover;
			width: 100%;
			height: 100%;
		}

		.box-bottom {
			padding: 10px;
		}

		.box:hover .box-img img {
			transform: scale(1.5);
		}

		.box:hover .box-img:after {
			background-color: rgba(0, 0, 0, .35);
		}

		.box:hover .box-btn {
			transform: translate(-50%, -50%) scale(1);
			opacity: 1;
		}

		.box-btn {
			position: absolute;
			left: 50%;
			top: 50%;
			width: 80px;
			height: 40px;
			line-height: 40px;
			text-align: center;
			background: #062538;
			color: #fff;
			transform: translate(-50%, -50%) scale(0);
			border-radius: 2px;
			cursor: pointer;
			z-index: 1;
			transition: all .4s;
			opacity: 0;
		}

		.box-img:after {
			content: "";
			position: absolute;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0;
			background-color: rgba(0, 0, 0, 0);
			transition: all .4s;
		}
	</style>
	<body>
		<div class="box">
			<div class="box-img">
				<div class="box-btn">看看我</div>
				<img src="https://t7.baidu.com/it/u=48006913,1459517342&fm=193&f=GIF" />
			</div>

			<div class="box-bottom">susu is xiaosusu</div>
		</div>
	</body>
</html>
